package com.zhh.springcloud.service;

import com.zhh.springcloud.model.Department;
import org.springframework.stereotype.Service;

import java.util.List;

public interface DepartmentService {
    //增
    public int add(Department department);

    //delete
    public int deleteById(int did);

    //update
    public int modifyById(Department department);

    //查所有人
    public List<Department> selectAll();

    //查一个人
    public Department selectById(int did);
}
